package com.chixing.entity.VO;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

public class OrderVO {
    //订单id
    private Long orderId;
    //订单编号
    private String orderNumber;
    //酒店名称
    private String hotelName;
    //酒店id
    private Long hotelId;
    //用户id
    private Long userId;
    //订单创建时间
    private LocalDateTime orderCreatedAt;
    //流水id
    private Long transactionsId;
    //流水编号
    private String transactionsNo;
    //订单创建时间
    private LocalDateTime transactionCreatedAt;
    //订单完成时间
    private LocalDateTime transactionCompletedAt;
    //订单金额
    private BigDecimal amount;
    //订单细节id
    private Long orderDetailId;
    //放假类型id
    private Long roomtypeId;
    //房间数量
    private Integer roomQuantity;
    //入住时间
    private LocalDate checkIn;
    //退房时间
    private LocalDate checkOut;
    //用户姓名
    private String userName;
    //用户电话
    private String userPhone;
    //商品价格
    private BigDecimal proPrice;
    //订单价格
    private BigDecimal orderPrice;
    //流水完成类型
    private String completedType;
    //订单状态
    private String orderStatus;

    public OrderVO() {
    }

    public OrderVO(Long orderId, String orderNumber, String hotelName, Long hotelId, Long userId, LocalDateTime orderCreatedAt, Long transactionsId, String transactionsNo, LocalDateTime transactionCreatedAt, LocalDateTime transactionCompletedAt, BigDecimal amount, Long orderDetailId, Long roomtypeId, Integer roomQuantity, LocalDate checkIn, LocalDate checkOut, String userName, String userPhone, BigDecimal proPrice, BigDecimal orderPrice, String completedType, String orderStatus) {
        this.orderId = orderId;
        this.orderNumber = orderNumber;
        this.hotelName = hotelName;
        this.hotelId = hotelId;
        this.userId = userId;
        this.orderCreatedAt = orderCreatedAt;
        this.transactionsId = transactionsId;
        this.transactionsNo = transactionsNo;
        this.transactionCreatedAt = transactionCreatedAt;
        this.transactionCompletedAt = transactionCompletedAt;
        this.amount = amount;
        this.orderDetailId = orderDetailId;
        this.roomtypeId = roomtypeId;
        this.roomQuantity = roomQuantity;
        this.checkIn = checkIn;
        this.checkOut = checkOut;
        this.userName = userName;
        this.userPhone = userPhone;
        this.proPrice = proPrice;
        this.orderPrice = orderPrice;
        this.completedType = completedType;
        this.orderStatus = orderStatus;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getHotelName() {
        return hotelName;
    }

    public void setHotelName(String hotelName) {
        this.hotelName = hotelName;
    }

    public Long getHotelId() {
        return hotelId;
    }

    public void setHotelId(Long hotelId) {
        this.hotelId = hotelId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public LocalDateTime getOrderCreatedAt() {
        return orderCreatedAt;
    }

    public void setOrderCreatedAt(LocalDateTime orderCreatedAt) {
        this.orderCreatedAt = orderCreatedAt;
    }

    public Long getTransactionsId() {
        return transactionsId;
    }

    public void setTransactionsId(Long transactionsId) {
        this.transactionsId = transactionsId;
    }

    public String getTransactionsNo() {
        return transactionsNo;
    }

    public void setTransactionsNo(String transactionsNo) {
        this.transactionsNo = transactionsNo;
    }

    public LocalDateTime getTransactionCreatedAt() {
        return transactionCreatedAt;
    }

    public void setTransactionCreatedAt(LocalDateTime transactionCreatedAt) {
        this.transactionCreatedAt = transactionCreatedAt;
    }

    public LocalDateTime getTransactionCompletedAt() {
        return transactionCompletedAt;
    }

    public void setTransactionCompletedAt(LocalDateTime transactionCompletedAt) {
        this.transactionCompletedAt = transactionCompletedAt;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Long getOrderDetailId() {
        return orderDetailId;
    }

    public void setOrderDetailId(Long orderDetailId) {
        this.orderDetailId = orderDetailId;
    }

    public Long getRoomtypeId() {
        return roomtypeId;
    }

    public void setRoomtypeId(Long roomtypeId) {
        this.roomtypeId = roomtypeId;
    }

    public Integer getRoomQuantity() {
        return roomQuantity;
    }

    public void setRoomQuantity(Integer roomQuantity) {
        this.roomQuantity = roomQuantity;
    }

    public LocalDate getCheckIn() {
        return checkIn;
    }

    public void setCheckIn(LocalDate checkIn) {
        this.checkIn = checkIn;
    }

    public LocalDate getCheckOut() {
        return checkOut;
    }

    public void setCheckOut(LocalDate checkOut) {
        this.checkOut = checkOut;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public BigDecimal getProPrice() {
        return proPrice;
    }

    public void setProPrice(BigDecimal proPrice) {
        this.proPrice = proPrice;
    }

    public BigDecimal getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(BigDecimal orderPrice) {
        this.orderPrice = orderPrice;
    }

    public String getCompletedType() {
        return completedType;
    }

    public void setCompletedType(String completedType) {
        this.completedType = completedType;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    @Override
    public String toString() {
        return "OrderVO{" +
                "orderId=" + orderId +
                ", orderNumber='" + orderNumber + '\'' +
                ", hotelName='" + hotelName + '\'' +
                ", hotelId=" + hotelId +
                ", userId=" + userId +
                ", orderCreatedAt=" + orderCreatedAt +
                ", transactionsId=" + transactionsId +
                ", transactionsNo='" + transactionsNo + '\'' +
                ", transactionCreatedAt=" + transactionCreatedAt +
                ", transactionCompletedAt=" + transactionCompletedAt +
                ", amount=" + amount +
                ", orderDetailId=" + orderDetailId +
                ", roomtypeId=" + roomtypeId +
                ", roomQuantity=" + roomQuantity +
                ", checkIn=" + checkIn +
                ", checkOut=" + checkOut +
                ", userName='" + userName + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", proPrice=" + proPrice +
                ", orderPrice=" + orderPrice +
                ", completedType='" + completedType + '\'' +
                ", orderStatus='" + orderStatus + '\'' +
                '}';
    }
}
